From: Matthias Clasen Date: Wed, 28 Oct 2015 15:48:52 +0000 (-0400) Subject: Revert "Adwaita: Update tooltip theming" X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~5093 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cab40f07434c7b4036660d08c974542a9868a09e;p=gtk%2B3.0.git Revert "Adwaita: Update tooltip theming" This reverts commit d974610741349b3f4e4c06abd87c82d99c6858ba. --- diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index edd303e686..20b65b8508 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3015,7 +3015,7 @@ infobar { * Tooltips * ************/ -tooltip { +.tooltip { &.background { // background-color needs to be set this way otherwise it gets drawn twice // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. @@ -3037,7 +3037,7 @@ tooltip { } } -tooltip * { //Yeah this is ugly +.tooltip * { //Yeah this is ugly padding: 4px; background-color: transparent; color: inherit; // just to be sure diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 5a7e15d21f..7725e20768 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -4148,21 +4148,21 @@ infobar { /************ * Tooltips * ************/ -tooltip { +.tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; text-shadow: 0 1px black; } - tooltip.background { + .tooltip.background { background-color: rgba(0, 0, 0, 0.8); background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); } - tooltip decoration.csd { + .tooltip decoration.csd { background-color: transparent; } -tooltip * { +.tooltip * { padding: 4px; background-color: transparent; color: inherit; } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 154015391b..0465b79c1d 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -4320,21 +4320,21 @@ infobar { /************ * Tooltips * ************/ -tooltip { +.tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; text-shadow: 0 1px black; } - tooltip.background { + .tooltip.background { background-color: rgba(0, 0, 0, 0.8); background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); } - tooltip decoration.csd { + .tooltip decoration.csd { background-color: transparent; } -tooltip * { +.tooltip * { padding: 4px; background-color: transparent; color: inherit; }